<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="application">
    <h1>单选列表</h1>
    <select v-model="select" placeholder="请选择">
      <option value="男">男</option>
      <option value="女">女</option>
    </select>
    <h1>多选列表</h1>
    <select v-model="selectList" multiple>
      <option value="足球">足球</option>
      <option value="篮球">篮球</option>
      <option value="排球">排球</option>
    </select>
  </div>
  <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
  <script>
    const App = {
      data() {
        return {
          select: '',
          selectList: ''
        }
      }
    }
    Vue.createApp(App).mount('#application')
  </script>
</body>
</html>